the last HHHHIIIISSSSTTTTSSSSIIIIZZZZEEEE commands (default 500) is saved in a
history list. The shell stores each command in the history
list prior to parameter and variable expansion (see
EEEEXXXXPPPPAAAANNNNSSSSIIIIOOOONNNN above) but after history expansion is performed,
subject to the values of the shell variables
ccccoooommmmmmmmaaaannnndddd____oooorrrriiiieeeennnntttteeeedddd____hhhhiiiissssttttoooorrrryyyy and HHHHIIIISSSSTTTTCCCCOOOONNNNTTTTRRRROOOOLLLL. On startup, the
history is initialized from the file named by the variable
HHHHIIIISSSSTTTTFFFFIIIILLLLEEEE (default ~/._b_a_s_h__h_i_s_t_o_r_y). HHHHIIIISSSSTTTTFFFFIIIILLLLEEEE is truncated,
if necessary, to contain no more than HHHHIIIISSSSTTTTFFFFIIIILLLLEEEESSSSIIIIZZZZEEEE lines.
The builtin command ffffcccc (see SSSSHHHHEEEELLLLLLLL BBBBUUUUIIIILLLLTTTTIIIINNNN CCCCOOOOMMMMMMMMAAAANNNNDDDDSSSS below)
may be used to list or edit and re-execute a portion of the
history list. The hhhhiiiissssttttoooorrrryyyy builtin can be used to display
the history list and manipulate the history file. When
using the command-line editing, search commands are
available in each editing mode that provide access to the
history list. When an interactive shell exits, the last
HHHHIIIISSSSTTTTSSSSIIIIZZZZEEEE lines are copied from the history list to HHHHIIIISSSSTTTTFFFFIIIILLLLEEEE.
If HHHHIIIISSSSTTTTFFFFIIIILLLLEEEE is unset, or if the history file is unwritable,